<html>
<head><meta charset="utf-8"><title>alexcrichton/jemallocator#64 test · zulip · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/index.html">zulip</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html">alexcrichton/jemallocator#64 test</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="146857852"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857852" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857852">(Nov 06 2018 at 10:54)</a>:</h4>
<p>test</p>



<a name="146857859"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857859" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857859">(Nov 06 2018 at 10:54)</a>:</h4>
<p>there are linkifiers set up for chalk and polonius but nothing else currently</p>



<a name="146857868"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857868" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857868">(Nov 06 2018 at 10:55)</a>:</h4>
<p>thanks. too bad.</p>



<a name="146857876"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857876" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857876">(Nov 06 2018 at 10:55)</a>:</h4>
<p>You can only use one capture variable in the linkifier so I don't think we can make it generic enough to build any arbitrary GitHub url.</p>



<a name="146857897"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857897" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857897">(Nov 06 2018 at 10:56)</a>:</h4>
<p>I don't quite understand the architecture of what you describe, so I'm missing context</p>



<a name="146857931"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857931" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857931">(Nov 06 2018 at 10:56)</a>:</h4>
<p>Can see it on "Organization Settings &gt; Linkifiers" from the cog in the top right of Zulip.</p>



<a name="146857932"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857932" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857932">(Nov 06 2018 at 10:56)</a>:</h4>
<p>you cannot make a regexp that would match <code>org/project#issuenum</code> ?</p>



<a name="146857933"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857933" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857933">(Nov 06 2018 at 10:56)</a>:</h4>
<p>It's basically a regex.</p>



<a name="146857939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857939">(Nov 06 2018 at 10:56)</a>:</h4>
<blockquote>
<p>Can see it on "Organization Settings &gt; Linkifiers" from the cog in the top right of Zulip.</p>
</blockquote>
<p>/me looks</p>



<a name="146857942"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146857942" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146857942">(Nov 06 2018 at 10:56)</a>:</h4>
<p>I think we tried making it more generic and supporting arbitrary GitHub projects but I don't think it would let us.</p>



<a name="146858018"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858018" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858018">(Nov 06 2018 at 10:58)</a>:</h4>
<p>I see, I should be able to add a new linkifier there, so in theory there's no harm in trying. But I suspect I'm not likely to succeed if others have already tried this...</p>



<a name="146858041"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858041" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858041">(Nov 06 2018 at 10:58)</a>:</h4>
<p>I just tried it on a private instance I've got for messing around: <a href="/user_uploads/4715/McbH3oVn4dE2k8NS7XGL0aYQ/pasted_image.png" target="_blank" title="pasted_image.png">pasted image</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/McbH3oVn4dE2k8NS7XGL0aYQ/pasted_image.png" target="_blank" title="pasted image"><img src="/user_uploads/4715/McbH3oVn4dE2k8NS7XGL0aYQ/pasted_image.png"></a></div>



<a name="146858073"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858073" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858073">(Nov 06 2018 at 10:59)</a>:</h4>
<p>Seems like they validate the URL format string in a too restrictive way.</p>



<a name="146858173"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858173" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858173">(Nov 06 2018 at 11:00)</a>:</h4>
<p>Can't put links in topic titles either since there's a length cap.</p>



<a name="146858175"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858175" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858175">(Nov 06 2018 at 11:00)</a>:</h4>
<p>Oh! hmm, right. I had thought we could get away with just feeding in the whole captured text directly, but you're right; we'd need to inject "issues/" into the middle of the string... hmmm..</p>



<a name="146858233"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858233" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858233">(Nov 06 2018 at 11:02)</a>:</h4>
<p>Unless there's some service out there that will take "alexcrichton/jemallocator#6" and redirect you to the GitHub page - then we could do it as one variable.</p>



<a name="146858255"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858255" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858255">(Nov 06 2018 at 11:02)</a>:</h4>
<p>That'd be easy enough to make.</p>



<a name="146858448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858448">(Nov 06 2018 at 11:07)</a>:</h4>
<p>a service called "github flavored markdown" ...</p>



<a name="146858450"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858450" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858450">(Nov 06 2018 at 11:07)</a>:</h4>
<p><span class="emoji emoji-1f609" title="wink">:wink:</span></p>



<a name="146858511"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858511" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858511">(Nov 06 2018 at 11:09)</a>:</h4>
<p>Actually, wouldn't be as easy, no server would be able to intercept the anchor and redirect it without some JS on the page doing that.</p>



<a name="146858887"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858887" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858887">(Nov 06 2018 at 11:19)</a>:</h4>
<p>I've set up <a href="https://github-expander.dtw.io/alexcrichton/jemallocator/6" target="_blank" title="https://github-expander.dtw.io/alexcrichton/jemallocator/6">https://github-expander.dtw.io/alexcrichton/jemallocator/6</a> - with any repo it'll work.</p>



<a name="146858895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858895">(Nov 06 2018 at 11:19)</a>:</h4>
<p>We could set up a linkifier to match <code>x/y/n</code> and just pop that on the end of <code>github-expander.dtw.io/</code> and it'd work.</p>



<a name="146858945"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146858945" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146858945">(Nov 06 2018 at 11:20)</a>:</h4>
<p>It's not as nice as I can't use <code>#</code> but it's not awful.</p>



<a name="146859081"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146859081" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146859081">(Nov 06 2018 at 11:24)</a>:</h4>
<p>Confirmed that this will work: <a href="/user_uploads/4715/rJjUMCMhbFecQx8EgSWXi1y_/pasted_image.png" target="_blank" title="pasted_image.png">pasted image</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/rJjUMCMhbFecQx8EgSWXi1y_/pasted_image.png" target="_blank" title="pasted image"><img src="/user_uploads/4715/rJjUMCMhbFecQx8EgSWXi1y_/pasted_image.png"></a></div>



<a name="146859094"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146859094" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146859094">(Nov 06 2018 at 11:24)</a>:</h4>
<p>Might be a nice fallback for repos like this and we can keep the special casing directly for repos we reference all the time.</p>



<a name="146860206"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146860206" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146860206">(Nov 06 2018 at 11:52)</a>:</h4>
<p>hmm why can't it use <code>#</code>?</p>



<a name="146860216"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146860216" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146860216">(Nov 06 2018 at 11:52)</a>:</h4>
<p>oh you can't put it into the url ?</p>



<a name="146860217"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146860217" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146860217">(Nov 06 2018 at 11:52)</a>:</h4>
<p>Part of the spec that defines urls mandates that <code>#</code> is handled client-side only.</p>



<a name="146860219"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146860219" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146860219">(Nov 06 2018 at 11:52)</a>:</h4>
<p>hmmmm......</p>



<a name="146860220"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146860220" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146860220">(Nov 06 2018 at 11:52)</a>:</h4>
<p>So I can't use that in doing the redirects.</p>



<a name="146860221"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146860221" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146860221">(Nov 06 2018 at 11:52)</a>:</h4>
<p>And therefore can't use it in the pattern.</p>



<a name="146860222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146860222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146860222">(Nov 06 2018 at 11:52)</a>:</h4>
<p>Since that just gets appended on a URL.</p>



<a name="146886683"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/alexcrichton/jemallocator%2364%20test/near/146886683" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/alexcrichton.2Fjemallocator.2364.20test.html#146886683">(Nov 06 2018 at 19:15)</a>:</h4>
<p>maybe post a request to the zulip person on internals asking him if this can be done? will be helpful if #crate/xxx streams becomes a reality</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>